<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <!-- 音频 -->
    <audio
      id="audio"
      src="./sources/Itsok.mp3"
      controls="controls"
      muted
      preload="preload"
    >
      <!-- 加上提示文字，在不兼容时显示文字 -->
      您的浏览器不支持audio
    </audio>
    <!-- 视频 -->
    <video src="./sources/test.mp4" controls="controls" autoplay muted>
      您的浏览器不支持video
    </video>
  </body>
  <script>
    document.getElementById("audio").loop = "loop";
    // document.getElementById("audio").setAttribute("loop","loop");
  </script>
</html>
